package com.demo.guanchazhe;

public class Client {

	public static void main(String[] args) {
		HanFeiZi hanFeiZi=new HanFeiZi();
		java.util.Observer lisi=new LiSi();
		java.util.Observer wangsi=new WangSi();
		hanFeiZi.addObserver(wangsi);
		hanFeiZi.addObserver(lisi);
		hanFeiZi.haveBreadfast();
		hanFeiZi.haveFun();
	}
}
